//
//  KDSignController.m
//  WangJingApp
//
//  Created by 魏强 on 17/1/23.
//  Copyright © 2017年 KDTech. All rights reserved.
//

#import "KDSignController.h"
#import "KDSignChildController.h"
#import "KDSiginedController.h"
@interface KDSignController ()

@end

@implementation KDSignController
#pragma mark - 懒加载区

#pragma mark - 生命周期区

#pragma mark - 板块布置区
- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = BackGroundColor;
    [self setupAllChildViewController];
}
#pragma mark - 事件点击区

#pragma mark - 网络请求区

#pragma mark - 通知接收区

#pragma mark - 添加所有子控制器
- (void)setupAllChildViewController
{
    // 管理日历
    KDSiginedController *vc1 = [[KDSiginedController alloc] init];
    vc1.title = @"已签收";
//    vc1.type = @"0";
    [self addChildViewController:vc1];
    
    // 信息报送
    KDSignChildController *vc2 = [[KDSignChildController alloc] init];
    vc2.title = @"未签收";
//    vc2.type = @"1";
    [self addChildViewController:vc2];

    
    //    // 在控专题
    //    KDTopicController *vc5 = [[KDTopicController alloc] init];
    //    vc5.title = @"在控专题";
    //    [self addChildViewController:vc5];
    
    [super setupManageBtn];
    if (!self.isSigned) {
        [super switchToPage:1];
    }
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
